import Vue from 'vue'
import Router from 'vue-router'
import Index from '../components/Index'
import Test from '../components/test/Test'

Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index
    },
    {
      path: '/test',
      name: 'test',
      component: Test
    }
  ],
  mode: 'history'
})
